#include "Config.h"
#include "Object.h"


Object::Object(unsigned int _x, unsigned int _y, Engine *parent,
    SDL_Surface *graphic)
  : x(_x), y(_y),
    fGraphic(graphic),
    fParent(parent),
    fDidMove(false),
    fState(true)
{
}

Object::~Object()
{
}

int
Object::Invoke()
{
  return I_STAY;
}

bool
Object::ToggleState()
{
  if (fState)
    fState = false;
  else
    fState = true;
  return fState;
}
